// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import './assets/base'
import './style/reset.css'
import { areaList } from '@vant/area-data';
// 引入地址编辑
import { AddressEdit } from 'vant';
// 省市区
import { Area } from 'vant';

// 省市区
Vue.use(Area);

// 地址编辑
Vue.use(AddressEdit);

import Vue from 'vue'
import './plugins/axios'
import App from './App'
import router from './router'
import {Button,Col, Row,Search,Tab, Tabs,Swipe, SwipeItem,Icon,Grid, GridItem, Tabbar, TabbarItem,Sidebar, SidebarItem
        ,NavBar,Sticky,Form, Field, Cell,CellGroup,Toast,List,PullRefresh,Stepper,Card,Tag,SubmitBar,Lazyload,NoticeBar,
        Collapse,CollapseItem,Divider,Popup,Empty,AddressList,ContactCard,Skeleton,Image as VanImage,Uploader,Step,Steps} from "vant";


Vue.use(Button).use(Col).use(Row).use(Search).use(Tab).use(Tabs)
  .use(Swipe).use(SwipeItem).use(Icon).use(Grid).use(GridItem).use(Lazyload).use(Skeleton)
  .use(Tabbar).use(TabbarItem).use(Sidebar).use(SidebarItem).use(NavBar).use(SubmitBar).use(Divider)
  .use(Sticky).use(Form).use(Field).use(CellGroup).use(Toast).use(List).use(PullRefresh).use(Cell).use(Stepper).use(Card).use(Tag)
  .use(NoticeBar).use(Collapse).use(CollapseItem).use(Popup).use(Empty).use(AddressList).use(ContactCard)
  .use(VanImage).use(Uploader).use(Step).use(Steps)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
